import { NgModule, ViewEncapsulation  } from '@angular/core';
import { CommonModule } from '@angular/common';

import { NzButtonModule } from 'ng-zorro-antd/button';
import { NzTableModule } from 'ng-zorro-antd/table';
import { NzCardModule } from 'ng-zorro-antd/card';
import { NzGridModule } from 'ng-zorro-antd/grid';
import { NzIconModule } from 'ng-zorro-antd/icon';
import { NzModalModule } from 'ng-zorro-antd/modal';
import { NzFormModule } from 'ng-zorro-antd/form';
import { NzInputNumberModule } from 'ng-zorro-antd/input-number';
import { NzUploadModule } from 'ng-zorro-antd/upload';
import { NzMessageModule } from 'ng-zorro-antd/message';
import { NzInputModule } from 'ng-zorro-antd/input';
import { NzTabsModule } from 'ng-zorro-antd/tabs';
import { NzPopconfirmModule } from 'ng-zorro-antd/popconfirm';
import { NzBadgeModule } from 'ng-zorro-antd/badge';
import { NzDividerModule } from 'ng-zorro-antd/divider';
import { NzRadioModule } from 'ng-zorro-antd/radio';
import { NzTreeModule } from 'ng-zorro-antd/tree';
import { NzDrawerModule } from 'ng-zorro-antd/drawer';
import { NzSwitchModule } from 'ng-zorro-antd/switch';
import {ReactiveFormsModule} from '@angular/forms';
import { NzMenuModule } from 'ng-zorro-antd/menu';
import { NzAutocompleteModule } from 'ng-zorro-antd/auto-complete';
import { NzDescriptionsModule } from 'ng-zorro-antd/descriptions';
import { NzCalendarModule } from 'ng-zorro-antd/calendar';
import { NzCheckboxModule } from 'ng-zorro-antd/checkbox';
import { NzDatePickerModule} from 'ng-zorro-antd/date-picker';



// 响应式表单
import { FormsModule } from '@angular/forms';
import { NzSelectModule } from 'ng-zorro-antd/select';
import { NzCascaderModule } from 'ng-zorro-antd/cascader';

// 可拖拽排序的表格
import {DragDropModule} from '@angular/cdk/drag-drop';


@NgModule({
  declarations: [],
  imports: [
    CommonModule,
    NzButtonModule,
    NzTableModule,
    NzCardModule,
    NzGridModule,
    NzIconModule,
    NzModalModule,
    NzFormModule,
    NzInputNumberModule,
    NzUploadModule,
    NzMessageModule,
    NzInputModule,
    NzTabsModule,
    NzPopconfirmModule,
    NzBadgeModule,
    NzDividerModule,
    NzRadioModule,
    NzTreeModule,
    NzDrawerModule,
    NzFormModule,
    NzSwitchModule,
    ReactiveFormsModule,
    NzMenuModule,
    NzAutocompleteModule,
    FormsModule,
    NzSelectModule,
    NzCascaderModule,
    DragDropModule,
    NzInputModule,
    NzDescriptionsModule,
    NzCalendarModule,
    NzCheckboxModule,
    NzDatePickerModule
  ],
  exports: [
    NzButtonModule,
    NzTableModule,
    NzCardModule,
    NzGridModule,
    NzIconModule,
    NzModalModule,
    NzFormModule,
    NzInputNumberModule,
    NzUploadModule,
    NzMessageModule,
    NzInputModule,
    NzTabsModule,
    NzPopconfirmModule,
    NzBadgeModule,
    NzDividerModule,
    NzRadioModule,
    NzTreeModule,
    NzDrawerModule,
    NzFormModule,
    NzSwitchModule,
    ReactiveFormsModule,
    NzMenuModule,
    NzAutocompleteModule,
    FormsModule,
    NzSelectModule,
    NzCascaderModule,
    DragDropModule,
    NzInputModule,
    NzDescriptionsModule,
    NzCalendarModule,
    NzCheckboxModule,
    NzDatePickerModule
  ]
})
export class ShareModule {
}
